From: Jasper St. Pierre Date: Tue, 15 Nov 2011 21:46:17 +0000 (-0500) Subject: shellDBus: Ignore extension properties that we don't care about X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~7294 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=97e7ea0b5d7012fff6cf6bc171dd6acccfe18668;p=gnome-shell.git shellDBus: Ignore extension properties that we don't care about --- diff --git a/js/ui/shellDBus.js b/js/ui/shellDBus.js index 8fb51e1c1..6a0a82731 100644 --- a/js/ui/shellDBus.js +++ b/js/ui/shellDBus.js @@ -171,14 +171,14 @@ GnomeShell.prototype = { let val = meta[key]; let type; switch (typeof val) { - case 'object': - throw Error('Extension had a nested object in the metadata. This is not supported'); case 'string': type = 's'; break; case 'number': type = 'd'; break; + default: + continue; } out[key] = GLib.Variant.new(type, val); }